home *** CD-ROM | disk | FTP | other *** search
- Copyright 1984-1998 FileMaker, Inc.
- HBAM2016AUG95
- Pro 3.0
- HBAM3016AUG95@
- Pro 3.0 - 4.0F!
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- January
- February
- March
- April
- August
- September
- October
- November
- December
- 1st Quarter
- 2nd Quarter
- 3rd Quarter
- 4th Quarter
- 4/3/00
- _GERRORCODE
- _GINITIALFOLDER
- _GSELECTEDFILE
- _gSelectedFileB
- _gInitialFolderB
- _gErrorCodeB
- menuB
- No FileType Filtering
- Get FileSpec Dialog
- *Get FileSpec Dialog (using Initial Folder)
- Select Initial Folder
- +Save FileSpec Dialog (using Initial Folder)
- ------- OTHER EXAMPLES --------
- %ContentsDialog (using Initial Folder)
- 3Get FileSpec Dialog (using Initial Folder/NoPrompt)
- (Save FileSpec Dialog (no Initial Folder)
- --------------
- open file
- Get FileSpec Dialog
- A0This script will get let the user select a file.BaNo initial folder is given, so this will start at the last folder (Mac) or at the root directory.
- Select FileE
- Select File DialogF0This file shows how to let a user select a file.G
- 2000 Troi AutomatiseringH
- Select Default FolderN
- Path of Selected FileP
- DefaultFolderQN2) File Selection using an initial folder as starting point for the selection.T
- 2a) Select the starting point:U
- 2b) Select a file:VHDo this a few times. The dialog will always start at the default folder.W
- 1) Simple SelectionX
- If you cancel $$-1 is returnedY0This must be a full path ending with
- ZQDo this a few times. Note that the dialog will start at the last selected folder.[
- Close Demo File] features!^!Select File (with initial folder)_
- 2c) Select a file for saving:`
- Save File (with initial folder)a
- _gErrorCode
- A*Get FileSpec Dialog (using Initial Folder)
- A;Let the user select a file. Starts from the initial folder.B!
- = ""
- Cancel
- Please specify an initial folder first.D
- |("TrFile-Get FileSpec Dialog"
- "Please select a file:|" &
- TrFile-Get FileSpec Dialog
- Please select a file:|
- 2) <> "$$"
- Make it a full path...G]
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- Select Initial Folder
- |("TrFile-Get FileSpec Dialog"
- "Please select a file:")
- TrFile-Get FileSpec Dialog
- Please select a file:|D;
- 2) <> "$$"
- Make it a full pathF]
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- ------- OTHER EXAMPLES --------
- A open file
- A3Get FileSpec Dialog (using Initial Folder/NoPrompt)
- A<Let the user select a file. Starts from the initial Folder.B!
- = ""
- Cancel
- Please specify an initial folder first.
- This script will show a dialog, which asks for the initial folder. This initial folder is used by the other Dialog as the starting point.B
- |("TrFile-SelectFolderDialog"
- "-unused|Select the default folder:|" &
- TrFile-SelectFolderDialog
- #-unused|Select the default folder:|
- 2) <> "$$"
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- No FileType Filtering
- A4This script will make sure that all files in the ...B%... File Selection Dialogs are shown.CN
- |("TrFile-SetDefaultType"
- TrFile-SetDefaultType
- A%ContentsDialog (using Initial Folder)
- A1This is a variant of the samples on the layout...BGLet the user get the contents of a file. Start from the default Folder.C!
- = ""
- Cancel
- Please specify a Default Folder first.
- |("TrFile-Get FileSpec Dialog"
- "|" &
- TrFile-Get FileSpec Dialog
- 2) <> "$$"
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- A+Save FileSpec Dialog (using Initial Folder)
- A&Let the user select a file for Saving.B
- Starts from the initial Folder.C#The resulting FileSpec is returned.D+...In this example we alse create the file.E!
- = ""
- Cancel
- Please specify an initial folder first.
- |("TrFile-ContentsDialog"
- "Select a file to get the contents from|" &
- TrFile-ContentsDialog
- 'Select a file to get the contents from|
- 2) = "$$"
- --------------
- A(Save FileSpec Dialog (no Initial Folder)
- A&Let the user select a file for Saving.B
- Starts from the initial Folder.C#The resulting FileSpec is returned.D+...In this example we alse create the file.E!
- = ""
- Cancel
- Please specify an initial folder first.
- |("TrFile-Save FileSpec Dialog"
- "Please select a file to save:|defaultname.txt|" &
- TrFile-Save FileSpec Dialog
- .Please select a file to save:|defaultname.txt|
- 2 ) = "$$"
- Create the file...KI
- |("TrFile-CreateFile"
- TrFile-CreateFile
- Set the default spec...NY
- |("TrFile-SetDefaultFileSpec"
- TrFile-SetDefaultFileSpec
- Write a bit of data in it...
- |("TrFile-SetContents"
- "Created on " &
- )) & " as a demo file by the Troi File plug-in 2.0. See <http://www.troi.com/> for more information.")
- TrFile-SetContents
- Created on
- ` as a demo file by the Troi File plug-in 2.0. See <http://www.troi.com/> for more information.
- Make it a full path...
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- Helvetica
- Geneva
- Times New Roman
- |("TrFile-Save FileSpec Dialog"
- "Please select a file to save:|defaultname.txt")
- TrFile-Save FileSpec Dialog
- -Please select a file to save:|defaultname.txt|H;
- 2 ) <> "$$"
- Create the file...JI
- |("TrFile-CreateFile"
- TrFile-CreateFile
- Set the default spec...MY
- |("TrFile-SetDefaultFileSpec"
- TrFile-SetDefaultFileSpec
- Write a bit of data in it...
- |("TrFile-SetContents"
- "Created on " &
- )) & " as a demo file by the Troi File plug-in 2.0.
- See <http://www.troi.com/> for more information.")
- TrFile-SetContents
- Created on
- _ as a demo file by the Troi File plug-in 2.0.
- See <http://www.troi.com/> for more information.
- Make it a full path...Q]
- |("TrFile-FileSpec To FullPath"
- TrFile-FileSpec To FullPath
- k{k|w
- [=g\gYg\.T
- g\c[_]c\ozc\g\[]g\c[o{c[g\[\g\24
- OYBw*
- _ZkZ[ZkZ_ZkZOZkZ[ZkZ_Zw
- k]k]{
- g\g=5
- 5sF6g]F
- o|g]k}
- GIFfAgGIF87a
- k]k]s
- o|g]{
- k]k]w
- Nv_:5
- g=g<_;w
- o\o}5
- k=JW1
- o\g{1
- g=k]5
- NvkZ2
- s}g]k\
- g=g<w
- g}k=o
- o^k{k}
- g]k=k
- g}k]o}
-